package com.hyz.reggie.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hyz.reggie.pojo.R;
import com.hyz.reggie.pojo.ShoppingCart;

import java.util.List;

public interface CartService extends IService<ShoppingCart> {
    ShoppingCart add(ShoppingCart shoppingCart);

    List<ShoppingCart> getList();

    R sub(ShoppingCart shoppingCart);

    void clean();
}
